<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>页面未找到 - 斗地主游戏</title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
    <style>
        .error-page {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        }
        
        .error-container {
            text-align: center;
            background: white;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            max-width: 500px;
            width: 90%;
        }
        
        .error-code {
            font-size: 120px;
            font-weight: bold;
            color: #1976d2;
            line-height: 1;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
        }
        
        .error-message {
            font-size: 24px;
            color: #333;
            margin-bottom: 30px;
        }
        
        .error-description {
            color: #666;
            margin-bottom: 30px;
        }
        
        .home-button {
            background: #1976d2;
            color: white;
            padding: 12px 30px;
            border-radius: 25px;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-block;
        }
        
        .home-button:hover {
            background: #1565c0;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            color: white;
            text-decoration: none;
        }
        
        .ascii-art {
            font-family: monospace;
            white-space: pre;
            font-size: 12px;
            line-height: 1.2;
            margin: 20px 0;
            color: #1976d2;
        }
    </style>
</head>
<body>
    <div class="error-page">
        <div class="error-container">
            <div class="ascii-art">
 _____   _____    _____ 
|  _  | |  _  |  |  _  |
| | | | | | | |  | | | |
|_| |_| |_| |_|  |_| |_|
            </div>
            <div class="error-code">404</div>
            <h1 class="error-message">找不到这张牌</h1>
            <p class="error-description">
                抱歉，您要找的页面不在这副牌中。<br>
                不如回到游戏大厅，来一局斗地主？
            </p>
            <a href="/" class="home-button">
                返回首页
            </a>
        </div>
    </div>
</body>
</html> 